package com.nightpiter.view.drawer.rapid;

public class LinkDrawerManager {

	private LinkDrawer smooth = new SmoothLinkDrawer();
	private LinkDrawer simple = new SimpleLinkDrawer();
	
	private LinkDrawer current = null;
	
	public LinkDrawerManager(boolean smooth) {
		setCurrentDrawer(smooth);
	}

	public LinkDrawerManager() {
		this(true);
	}
	
	public void setCurrentDrawer(boolean smooth) {
		if (smooth) {
			current = this.smooth;
		} else {
			current = this.simple;
		}
	}
	
	public LinkDrawer getDrawer() {
		return current;
	}
	
}
